﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Timetabling.Core.Contracts
{
    public interface ICourseService
    {
        //Como se implementa IGeneric ya esta el edit, add, delete classroom

        /// <summary>
        /// Listar todas las asignaturas de un curso
        /// </summary>
        /// <param name="center"></param>
        /// <returns></returns>
        IList<Subject> GetAllSubject(Course course);
        /// <summary>
        /// Listar todos los cursos de un centro
        /// </summary>
        /// <param name="center"></param>
        /// <returns></returns>
        IList<Course> GetAllCourse(Center center);
        /// <summary>
        /// Añadir asignatura a un curso
        /// </summary>
        /// <param name="classroom"></param>
        /// <param name="subject"></param>
        void AddSubject(Classroom classroom, Subject subject);
        /// <summary>
        /// Eliminar asignatura de un curso
        /// </summary>
        /// <param name="classroom"></param>
        /// <param name="subject"></param>
        void DeleteSubject(Classroom classroom, Subject subject);
        
    }
}
